package com.scs.application.modules.sys.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.sys.entity.Menu;

import java.util.List;

public interface MenuService extends IBaseService<Menu> {

    String getDesignMenu();


    /**
     * 获取用户菜单
     * @param
     * @return
     */
    List<Menu> getUserMenu();

    /**
     *
     * @param userId
     * @return
     */
    List<Menu> listByUser(String userId);

    /**
     *  获取角色菜单
     * @param roleId
     * @return
     */
    List<Menu> listByRole(String roleId);
}
